package com.pearadmin.pro.modules.experiment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageRequest;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import com.pearadmin.pro.modules.experiment.entity.ExperimentBulletin;
import com.pearadmin.pro.modules.experiment.entity.ExperimentInfo;
import com.pearadmin.pro.modules.experiment.entity.ExperimentInfoRequest;
import com.pearadmin.pro.modules.sys.domain.SysConfig;

import java.util.List;
import java.util.Map;


public interface ExperimentBulletinService extends IService<ExperimentBulletin> {


    PageResponse<ExperimentBulletin> getAnnouncementList(PageRequest request);

    /**
     * 获取新闻/公告详情
     * @author ZhouXingYun
     * @date 2022/6/20 14:04
     * @param id
     * @return com.pearadmin.pro.modules.experiment.entity.ExperimentBulletin
     */
    ExperimentBulletin viewDetails(String id);

    PageResponse<ExperimentBulletin> getNewsList(PageRequest request);

    boolean insertSelective(ExperimentBulletin experimentBulletin);
}
